﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace ProgrammersFAQ.Views.WS
{
    public class PlatformServiceController : Controller
    {
        //
        // GET: /PlatformService/

        public ActionResult Index()
        {
            return View();
        }
        [HttpGet]
        public string getPlatformCombo()
        {
            using (wsPlatformService.PlatformServiceClient service = new wsPlatformService.PlatformServiceClient())
            {
                string result = "<option value='-1'>Selecione</option>";
                result += service.getPlatformComboList();
                return result;
            }
        }

    }
}
